package main

import (
    "sort"
    "fmt"
)

func main() {
    // Create s slice of int
    a := []int {9,3,5,1,2}
    sort.Ints(a)
    for i, v := range a {
        fmt.Println(i, v)
    }
}
